package com.ljf.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ljf.admin.POJO.SysDept;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Auther: lijinfeng
 * @Date: 2022/4/21
 * @Description 描述:
 */
@Mapper
public interface SysDeptMapper extends BaseMapper<SysDept> {
    int updateBatch(List<SysDept> list);

    int updateBatchSelective(List<SysDept> list);

    int batchInsert(@Param("list") List<SysDept> list);

    List<SysDept> selectDeptListByRoleId(@Param("roleId") Long roleId);

    List<Map<String, String>> getDeptUser();
}
